function data = sellProcedurePlot()
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
    data = textread('data.txt');
    dSize = size(data);
    num = dSize(1)/4;
    len = dSize(2);
    counter = 0;
    hold all;
    xlabel('time');
    ylabel('price');
    title('seller competition');
    x = [];
    y = [];
    itemId = [];
    seller = [];
    lg = [];
    for i = 1:num
        curr = data(4*i-3:4*i,:);
        itemId = [itemId,curr(1,1)];
        seller = [seller,curr(1,2)];
        lg = strvcat(lg,num2str(curr(1,2)));
        for j = 1:len
            if curr(2,j) > 0
                counter = counter + 1;
                x = [x,curr(2,j)];
                y = [y,curr(3,j)];
            end
        end
        if counter > 5
            plot(x,y,'-o','markersize',5,'linewidth',2);
        else
            plot(x,y,'-v','markersize',3,'LineWidth',1);
        end
        x =[];
        y = [];
        counter = 0;
    end
    legend(lg);
end

